package com.ny.service;

import com.ny.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductService {
   List<Product> findAllProduct() throws SQLException;
   int addProduct(Product product) throws SQLException;
   Product updateProduct(Product product) throws SQLException;
   Product deleteProduct(String product_name) throws SQLException;

}
